package com.project.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 权限实体类 */
@TableName("t_permission")
@Data
@NoArgsConstructor
public class PermissionBean {
    @TableId(value = "pk_permissionId")
    private Integer id;

    @TableField("p_name")
    private String name;

    @TableField("p_content")
    private String content;


    @Override
    public String toString() {
        return "PermissionBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
